<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/20
 * Time: 8:41
 */
require 'config.php';
switch (@$_GET['a']){
    case 'sea':
$search = $_POST['select'];
$sear = $_POST['sear'];
$id = $_POST['id'];
if ($search == 1){
        echo "<script>window.location.href='./search/sea.php?sear=$sear&id=$id'</script>";die;
    }
        if ($search == 4){
            echo "<script>window.location.href='./search/ban.php?sear=$sear&id=$id'</script>";die;
        }
        if ($search == 3){
            echo "<script>window.location.href='./search/yonghu.php?sear=$sear&id=$id'</script>";die;
        }
break;
}
